Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix possible file locks due to race conditions during build & test #836

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

m0nsky
Copy link
Contributor

@m0nsky m0nsky commented Jul 10, 2024

Fixes an edge case where downloading the deps/models were sometimes causing file locks due to race conditions when building and testing the project. After applying the fixes, I have not been able to reproduce the issue.

It affects both the build targets for LLamaSharp (downloading the deps) and LLama.Unittest (downloading the models).

Note: this is based on, and will merge (after more testing) into july-2024-binaries

@martindevans
Copy link
Member

Tested in Visual Studio and dotnet build CLI with a clean clone, it works!

@martindevans martindevans merged commit 3beb3dc into SciSharp:july-2024-binaries Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants